<div v-show="sync_step_3" class="panel panel-default" style="float: left;width: 75%" th:fragment="sync_step_3">
    <div class="panel-heading" style="padding: 2px 15px;height: 39px;">
        <div>
            <div style="float: left;padding-top: 7px">第三步【通道控制】</div>
            <div style="float: right">
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" @click="saveOrUpdate" value="保存"/>
                <input type="button" class="btn btn-warning" @click="nextStep('sync_step_2')" value="上一步"/>
                <input type="button" class="btn btn-primary" @click="executeJob" value="执行调度"/>
                <input type="button" class="btn btn-success" @click="bindJob" value="调度配置"/>
                <input type="button" class="btn btn-info" @click="executeLog" value="执行日志"/>
            </div>
        </div>
    </div>

    <form class="form-horizontal" style="width: 100%;float: left">
        <div class="form-group">
            <div class="col-sm-4 control-label" style="color: #00a65a">任务期望最大并发数</div>
            <div class="col-sm-4">
                <select id="syncNum" class="form-control" dict:select="" dictType="sync_job_task_num" v-model="sync.syncNum" defaultVal="-1" default="--不限制--">

                </select>
            </div>
            <div class="col-sm-2 control-label" style="min-width: unset;padding-left:unset;max-width: 150px">
                (优先级最低，设置速率和行数将自动计算并发数)
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-4 control-label" style="color: #00a65a">同步速率</div>
            <div class="col-sm-4">
                <label class="radio-inline">
                    <input type="radio" name="syncRate" value="0" checked @click="changeSyncRate"/> 不限流
                </label>
                <label class="radio-inline">
                    <input type="radio" name="syncRate" value="1" @click="changeSyncRate"/> 限流（MB/s）
                </label>

                <input maxlength="3" v-show="showSyncRate" type="text" class="form-control" v-model="sync.syncRate" placeholder="同步速率"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-4 control-label" style="color: #00a65a">同步行数</div>
            <div class="col-sm-4">
                <label class="radio-inline">
                    <input type="radio" name="syncRecord" value="0" checked @click="changeSyncRecord"/> 不限行
                </label>
                <label class="radio-inline">
                    <input type="radio" name="syncRecord" value="1" @click="changeSyncRecord"/> 限行
                </label>
                <input maxlength="5" v-show="showSyncRecord" type="text" class="form-control" v-model="sync.syncRecord " placeholder="并发时每次从数据库查询记录行数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-4 control-label" style="color: #00a65a">错误记录数超过</div>
            <div class="col-sm-4">
                <input maxlength="5" type="text" class="form-control" v-model="sync.errorLimit " placeholder="脏数据条数范围, 默认允许脏数据"/>

            </div>
            <div class="col-sm-2 control-label" style="min-width: unset;padding-left:unset;max-width: 150px">
                条，任务自动结束
            </div>
        </div>
    </form>
</div>